﻿using System.Collections.ObjectModel;

namespace ServerCrafter.ClassLibrary.ViewModels
{
    public sealed class Command
    {
        public string Text { get; internal set; }
    }

    public sealed class VMCommands
    {
        public ObservableCollection<Command> Commands { get; set; }

        public ObservableCollection<Command> Get()
        {
            Commands = new ObservableCollection<Command>
                {
                    new Command {Text = "stop "},
                    new Command {Text = "save-all "},
                    new Command {Text = "save-off "},
                    new Command {Text = "save-on "}
                };
            return Commands;
        }
    }
}